import url from '../url-config.js'
import { Api } from './ApiClass'
import req from '../request'
export const selfEvaluationApi = new Api(url.selfEvaluation.crud)
selfEvaluationApi.list = data => req.get(url.selfEvaluation.list, data)
selfEvaluationApi.all = () => req.get(url.selfEvaluation.all)
// export const selfEvaluationTemplateApi = new Api(url.selfEvaluation.template)
export const selfEvaluationRecordApi = {}
selfEvaluationRecordApi.zp = data => req.post(url.selfEvaluation.zp, data)
selfEvaluationRecordApi.fh = data => req.post(url.selfEvaluation.fh, data)
selfEvaluationRecordApi.zh = data => req.post(url.selfEvaluation.zh, data)
